home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_27307.txt < prev    next >
Text File  |  1990-10-02  |  9KB  |  383 lines

  1. -- card: 27307 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 15466
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,flood,chase
  13.   if direction = "north" then
  14.     if flood then
  15.       go to card id 29888
  16.     else
  17.       go to card id 29230
  18.     end if
  19.     exit move
  20.   end if
  21.   if direction = "south" or direction = "rear" then
  22.     go to card id 3186
  23.     exit move
  24.   end if
  25.   if direction = "east" then
  26.     go card id 28895
  27.     exit move
  28.   end if
  29.   if direction = "up" then
  30.     go card id 28289
  31.     exit move
  32.   end if
  33.   if direction = "west" then
  34.     if flood then
  35.       go to card id 31445
  36.     else
  37.       go to card id 30913
  38.     end if
  39.     exit move
  40.   end if
  41.   pass move
  42. end move
  43.  
  44.  
  45. on closeCard
  46.   set the cursor to 4
  47.   put "" into field 3
  48. end closeCard
  49.  
  50. on take
  51.   global object,carried
  52.   -- remember to update carried if you do not pass take
  53.   pass take
  54. end take
  55.  
  56. on drop
  57.   global object,dropRoom,carried
  58.   -- remember to update carried if you do not pass drop
  59.   pass drop
  60. end drop
  61.  
  62. on use
  63.   global object,carried
  64.   -- update carried if use results in loss of object
  65.   pass use
  66. end use
  67.  
  68.  
  69.  
  70.  
  71.  
  72. -- part 16 (button)
  73. -- low flags: 80
  74. -- high flags: 2000
  75. -- rect: left=122 top=230 right=266 bottom=156
  76. -- title width / last selected line: 0
  77. -- icon id / first selected line: 9301 / 9301
  78. -- text alignment: 1
  79. -- font id: 0
  80. -- text size: 12
  81. -- style flags: 0
  82. -- line height: 16
  83. -- part name: knife
  84. ----- HyperTalk script -----
  85. on mouseUp
  86.   global takeFlag,examFlag,object,cardID
  87.   put the name of the target into object
  88.   if takeFlag = true
  89.   then send take to card id cardID
  90. else put "a knife" into field 3
  91. put false into examFlag
  92. end mouseUp
  93.  
  94.  
  95.  
  96. -- part 17 (button)
  97. -- low flags: 80
  98. -- high flags: 2000
  99. -- rect: left=89 top=195 right=231 bottom=123
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 1015 / 1015
  102. -- text alignment: 1
  103. -- font id: 0
  104. -- text size: 12
  105. -- style flags: 0
  106. -- line height: 16
  107. -- part name: nodule
  108. ----- HyperTalk script -----
  109. on mouseUp
  110.   global takeFlag,examFlag,object,cardID
  111.   put the name of the target into object
  112.   if takeFlag = true
  113.   then send take to card id cardID
  114. else put "a silicon sphere" into field 3
  115. put false into examFlag
  116. end mouseUp
  117.  
  118.  
  119.  
  120. -- part 18 (button)
  121. -- low flags: 80
  122. -- high flags: 2000
  123. -- rect: left=122 top=195 right=231 bottom=156
  124. -- title width / last selected line: 0
  125. -- icon id / first selected line: 14953 / 14953
  126. -- text alignment: 1
  127. -- font id: 0
  128. -- text size: 12
  129. -- style flags: 0
  130. -- line height: 16
  131. -- part name: ladder
  132. ----- HyperTalk script -----
  133. on mouseUp
  134.   global takeFlag,examFlag,object,cardID
  135.   put the name of the target into object
  136.   if takeFlag = true
  137.   then send take to card id cardID
  138. else put "a rope ladder" into field 3
  139. put false into examFlag
  140. end mouseUp
  141.  
  142.  
  143.  
  144. -- part 19 (button)
  145. -- low flags: 80
  146. -- high flags: 2000
  147. -- rect: left=122 top=160 right=196 bottom=156
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 1019 / 1019
  150. -- text alignment: 1
  151. -- font id: 0
  152. -- text size: 12
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: bomb
  156. ----- HyperTalk script -----
  157. on mouseUp
  158.   global takeFlag,examFlag,object,cardID
  159.   put the name of the target into object
  160.   if takeFlag = true
  161.   then send take to card id cardID
  162. else put "a time bomb" into field 3
  163. put false into examFlag
  164. end mouseUp
  165.  
  166.  
  167.  
  168. -- part 20 (button)
  169. -- low flags: 80
  170. -- high flags: 2000
  171. -- rect: left=89 top=160 right=196 bottom=123
  172. -- title width / last selected line: 0
  173. -- icon id / first selected line: 24317 / 24317
  174. -- text alignment: 1
  175. -- font id: 0
  176. -- text size: 12
  177. -- style flags: 0
  178. -- line height: 16
  179. -- part name: key
  180. ----- HyperTalk script -----
  181. on mouseUp
  182.   global takeFlag,examFlag,object,cardID
  183.   put the name of the target into object
  184.   if takeFlag = true
  185.   then send take to card id cardID
  186. else put "a key" into field 3
  187. put false into examFlag
  188. end mouseUp
  189.  
  190.  
  191.  
  192. -- part 21 (button)
  193. -- low flags: 80
  194. -- high flags: 2000
  195. -- rect: left=156 top=196 right=232 bottom=190
  196. -- title width / last selected line: 0
  197. -- icon id / first selected line: 7012 / 7012
  198. -- text alignment: 1
  199. -- font id: 0
  200. -- text size: 12
  201. -- style flags: 0
  202. -- line height: 16
  203. -- part name: gem
  204. ----- HyperTalk script -----
  205. on mouseUp
  206.   global takeFlag,examFlag,object,cardID
  207.   put the name of the target into object
  208.   if takeFlag = true
  209.   then send take to card id cardID
  210. else put "a glowing gem" into field 3
  211. put false into examFlag
  212. end mouseUp
  213.  
  214.  
  215.  
  216. -- part 22 (button)
  217. -- low flags: 80
  218. -- high flags: 2000
  219. -- rect: left=54 top=195 right=231 bottom=88
  220. -- title width / last selected line: 0
  221. -- icon id / first selected line: 23078 / 23078
  222. -- text alignment: 1
  223. -- font id: 0
  224. -- text size: 12
  225. -- style flags: 0
  226. -- line height: 16
  227. -- part name: orb
  228. ----- HyperTalk script -----
  229. on mouseUp
  230.   global takeFlag,examFlag,object,cardID
  231.   put the name of the target into object
  232.   if takeFlag = true
  233.   then send take to card id cardID
  234. else put "a crystal orb" into field 3
  235. put false into examFlag
  236. end mouseUp
  237.  
  238.  
  239.  
  240. -- part 23 (button)
  241. -- low flags: 00
  242. -- high flags: 0000
  243. -- rect: left=215 top=128 right=157 bottom=240
  244. -- title width / last selected line: 0
  245. -- icon id / first selected line: 0 / 0
  246. -- text alignment: 1
  247. -- font id: 0
  248. -- text size: 12
  249. -- style flags: 0
  250. -- line height: 16
  251. -- part name: 
  252. ----- HyperTalk script -----
  253. on mouseUp
  254.   global examFlag,direction,cardID
  255.   if examFlag then
  256.     put "a hole through the dam, leading east." into field 3
  257.     put false into examFlag
  258.   else
  259.     put "east" into direction
  260.     send move to card id cardID
  261.   end if
  262. end mouseUp
  263.  
  264.  
  265.  
  266. -- part 33 (button)
  267. -- low flags: 00
  268. -- high flags: 0000
  269. -- rect: left=102 top=44 right=92 bottom=142
  270. -- title width / last selected line: 0
  271. -- icon id / first selected line: 0 / 0
  272. -- text alignment: 1
  273. -- font id: 0
  274. -- text size: 12
  275. -- style flags: 0
  276. -- line height: 16
  277. -- part name: 
  278. ----- HyperTalk script -----
  279. on mouseUp
  280.   global examFlag,direction,cardID
  281.   if examFlag then
  282.     put "a tunnel leading north" into field 3
  283.     put false into examFlag
  284.   else
  285.     put "north" into direction
  286.     send move to card id cardID
  287.   end if
  288. end mouseUp
  289.  
  290.  
  291.  
  292. -- part 34 (button)
  293. -- low flags: 00
  294. -- high flags: 0000
  295. -- rect: left=3 top=88 right=172 bottom=34
  296. -- title width / last selected line: 0
  297. -- icon id / first selected line: 0 / 0
  298. -- text alignment: 1
  299. -- font id: 0
  300. -- text size: 12
  301. -- style flags: 0
  302. -- line height: 16
  303. -- part name: 
  304. ----- HyperTalk script -----
  305. on mouseUp
  306.   global examFlag,direction,cardID
  307.   if examFlag then
  308.     put "a doorway leading west." into field 3
  309.     put false into examFlag
  310.   else
  311.     put "west" into direction
  312.     send move to card id cardID
  313.   end if
  314. end mouseUp
  315.  
  316.  
  317.  
  318. -- part 41 (button)
  319. -- low flags: 00
  320. -- high flags: 0000
  321. -- rect: left=211 top=63 right=97 bottom=238
  322. -- title width / last selected line: 0
  323. -- icon id / first selected line: 0 / 0
  324. -- text alignment: 1
  325. -- font id: 0
  326. -- text size: 12
  327. -- style flags: 0
  328. -- line height: 16
  329. -- part name: 
  330. ----- HyperTalk script -----
  331. on mouseUp
  332.   global examFlag,direction,cardID
  333.   if examFlag then
  334.     put "The crystal dam has a hole through it where the " into field 3
  335.     put "horta tried to climb up after you." after field 3
  336.     put false into examFlag
  337.   else
  338.     put "up" into direction
  339.     send move to card id cardID
  340.   end if
  341. end mouseUp
  342.  
  343.  
  344.  
  345. -- part 42 (button)
  346. -- low flags: 00
  347. -- high flags: 0000
  348. -- rect: left=231 top=86 right=122 bottom=255
  349. -- title width / last selected line: 0
  350. -- icon id / first selected line: 0 / 0
  351. -- text alignment: 1
  352. -- font id: 0
  353. -- text size: 12
  354. -- style flags: 0
  355. -- line height: 16
  356. -- part name: 
  357. ----- HyperTalk script -----
  358. on mouseUp
  359.   global examFlag,direction,cardID
  360.   if examFlag then
  361.     put "The crystal dam has a hole through it where the " into field 3
  362.     put "horta tried to climb up after you." after field 3
  363.     put false into examFlag
  364.   else
  365.     put "up" into direction
  366.     send move to card id cardID
  367.   end if
  368. end mouseUp
  369.  
  370.  
  371.  
  372. -- part contents for background part 25
  373. ----- text -----
  374. Dam Room
  375. (looking north)
  376.  
  377. -- part contents for background part 24
  378. ----- text -----
  379. You are in the dam room.  There are exits to the north, south, and west.  The east wall is dominated by a huge crystal dam with a large hole through it where the horta tried to climb it.  It appears that the water poured through the hole in the dam and flowed out the west door (at the lowest part of the room).  The floor and walls are still wet.
  380.  
  381. -- part contents for background part 36
  382. ----- text -----
  383. 1